exception 'PDOException' with message 'SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '%20sp_old[0]+%20'') AND (c.rev = cd.rev) LIMIT 1' at line 2' in /data/vhost/v2.iu91.com/shell/zf/Zend/Db/Statement/Pdo.php:228
Stack trace:
#0 /data/vhost/v2.iu91.com/shell/zf/Zend/Db/Statement/Pdo.php(228): PDOStatement->execute(Array)
#1 /data/vhost/v2.iu91.com/shell/zf/Zend/Db/Statement.php(300): Zend_Db_Statement_Pdo->_execute(Array)
#2 /data/vhost/v2.iu91.com/shell/zf/Zend/Db/Adapter/Abstract.php(479): Zend_Db_Statement->execute(Array)
#3 /data/vhost/v2.iu91.com/shell/zf/Zend/Db/Adapter/Pdo/Abstract.php(238): Zend_Db_Adapter_Abstract->query(Object(Zend_Db_Select), Array)
#4 /data/vhost/v2.iu91.com/shell/zf/Zend/Db/Select.php(686): Zend_Db_Adapter_Pdo_Abstract->query(Object(Zend_Db_Select))
#5 INEWS_ROOT/lib/dao/DbContentDAO.php(337): Zend_Db_Select->query()
#6 INEWS_ROOT/app/content/ListContentAction.php(39): DbContentDAO->getContentWithDataByContentId(''+%20sp_old[0]+...')
#7 INEWS_ROOT/lib/ext/ZeedController.php(122): Content_ListContentAction->execute()
#8 INEWS_ROOT/lib/ext/ZeedController.php(73): ZeedController->invoke(Object(Content_ListContentAction))
#9 INEWS_ROOT/lib/ext/ZeedController.php(176): ZeedController->runAction('content', 'ListContent', Array)
#10 INEWS_ROOT/lib/ext/ZeedController.php(203): ZeedController->__call('ListContentActi...', Array)
#11 INEWS_ROOT/lib/ext/ZeedDispatcher.php(141): ZeedController->run(Object(ZeedRequest))
#12 INEWS_ROOT/lib/ext/ZeedDispatcher.php(68): ZeedDispatcher->_dispatch(Object(ZeedRequest))
#13 INEWS_ROOT/lib/ext/ZeedFront.php(179): ZeedDispatcher->dispatch(Object(ZeedRequest))
#14 INEWS_ROOT/lib/ext/ZeedFront.php(104): ZeedFront->_dispatch()
#15 INEWS_ROOT/index.php(36): ZeedFront->dispatch()
#16 /data/vhost/v2.iu91.com/html/mapping.php(17): require_once('/data/vhost/v2....')
#17 {main}

Next exception 'Zend_Db_Statement_Exception' with message 'SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '%20sp_old[0]+%20'') AND (c.rev = cd.rev) LIMIT 1' at line 2' in /data/vhost/v2.iu91.com/shell/zf/Zend/Db/Statement/Pdo.php:234
Stack trace:
#0 /data/vhost/v2.iu91.com/shell/zf/Zend/Db/Statement.php(300): Zend_Db_Statement_Pdo->_execute(Array)
#1 /data/vhost/v2.iu91.com/shell/zf/Zend/Db/Adapter/Abstract.php(479): Zend_Db_Statement->execute(Array)
#2 /data/vhost/v2.iu91.com/shell/zf/Zend/Db/Adapter/Pdo/Abstract.php(238): Zend_Db_Adapter_Abstract->query(Object(Zend_Db_Select), Array)
#3 /data/vhost/v2.iu91.com/shell/zf/Zend/Db/Select.php(686): Zend_Db_Adapter_Pdo_Abstract->query(Object(Zend_Db_Select))
#4 INEWS_ROOT/lib/dao/DbContentDAO.php(337): Zend_Db_Select->query()
#5 INEWS_ROOT/app/content/ListContentAction.php(39): DbContentDAO->getContentWithDataByContentId(''+%20sp_old[0]+...')
#6 INEWS_ROOT/lib/ext/ZeedController.php(122): Content_ListContentAction->execute()
#7 INEWS_ROOT/lib/ext/ZeedController.php(73): ZeedController->invoke(Object(Content_ListContentAction))
#8 INEWS_ROOT/lib/ext/ZeedController.php(176): ZeedController->runAction('content', 'ListContent', Array)
#9 INEWS_ROOT/lib/ext/ZeedController.php(203): ZeedController->__call('ListContentActi...', Array)
#10 INEWS_ROOT/lib/ext/ZeedDispatcher.php(141): ZeedController->run(Object(ZeedRequest))
#11 INEWS_ROOT/lib/ext/ZeedDispatcher.php(68): ZeedDispatcher->_dispatch(Object(ZeedRequest))
#12 INEWS_ROOT/lib/ext/ZeedFront.php(179): ZeedDispatcher->dispatch(Object(ZeedRequest))
#13 INEWS_ROOT/lib/ext/ZeedFront.php(104): ZeedFront->_dispatch()
#14 INEWS_ROOT/index.php(36): ZeedFront->dispatch()
#15 /data/vhost/v2.iu91.com/html/mapping.php(17): require_once('/data/vhost/v2....')
#16 {main}